package com.tz.shop.seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 铁铸
 * @create 2021-07-16 0:22
 */
@SpringBootApplication
@ComponentScan("com.tz.shop")
@EnableDiscoveryClient
@EnableScheduling  //开启定时任务
public class SecKillApplication {
    public static void main(String[] args) {
        SpringApplication.run(SecKillApplication.class, args);
    }
}
